var systemActionFunction = {
	saveWindow : function(actionId){
		new WindowPanel({
			id : 'saveAction',
			title:'添加功能菜单',
			width:420,
			height:280,
			html : '<iframe name="saveAction" id="saveAction" src="'+path+'/system/systemAction/toSave.action?actionId='+actionId+'" frameborder="0"></iframe>',
			toolBar : new ToolBar({
				items:[{
					text : '保存',
					pic : 'add',
					userable:'true',
					handler : function(){
						$(window.frames["saveAction"].document).find("#form").submit();
					}	
			}]
			})
		});
	},
	updateWindow : function(actionId){
		new WindowPanel({
			id : 'updateAction',
			title:'修改系统功能菜单',
			width:420,
			height:280,
			html : '<iframe name="updateAction" id="updateAction" src="'+path+'/system/systemAction/toUpdate.action?actionInfo.id='+actionId+'" frameborder="0"></iframe>',
			toolBar : new ToolBar({
				items:[{
					text : '修改',
					pic : 'edit',
					userable:'true',
					handler : function(){
						$(window.frames["updateAction"].document).find("#form").submit();
					}	
			}]
			})
		});
	}
}